package cn.tedu.community.commons.pojo.user.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 用户列表vo
 */
@Data
public class UserListVO implements Serializable {
    private Long id;

    private String username; /*登陆注册的用户名（同数据库）*/

    private String phone;

    private String name; /*用户的姓名（同数据库）*/

    private Integer age;

    private String email;

    private String gender;

    private String identity;  /*身份证*/

    private String address; /*住址*/

    private String photo;

    private Integer isReturnPeople;

    @JsonFormat(pattern = "yyyy年MM月dd日 HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime gmtCreate; /*数据创建时间*/

    @JsonFormat(pattern = "yyyy年MM月dd日 HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime gmtModified; /*数据最后修改时间*/
}
